Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lmeval): Disable online evaluation #375

Merged
merged 9 commits into from
Dec 4, 2024

Conversation

ruivieira
Copy link
Member

Refer to RHOAIENG-16382.

This PR adds two flags to the LMEval job:

  • allowOnline: true/false, defaults to false if missing. If false, lm-eval and HF libraries will not automatically download models or datasets if they are missing locally. If explicitly set to true, models and datasets will be downloaded.
  • allowCodeExecution: true/false, defaults to false if missing. If false, scripts present in the models, datasets or metrics will not be executed. If true, they will.

Copy link

github-actions bot commented Dec 4, 2024

PR image build and manifest generation completed successfully!

📦 PR image: quay.io/trustyai/trustyai-service-operator-ci:a0e2fd984ae5788caafdaaa1afe14d6c11f99945

📦 LMES driver image: quay.io/trustyai/ta-lmes-driver:a0e2fd984ae5788caafdaaa1afe14d6c11f99945

📦 LMES job image: quay.io/trustyai/ta-lmes-job:a0e2fd984ae5788caafdaaa1afe14d6c11f99945

🗂️ CI manifests

devFlags:
  manifests:
    - contextDir: config
      sourcePath: ''
      uri: https://api.github.com/repos/trustyai-explainability/trustyai-service-operator-ci/tarball/operator-a0e2fd984ae5788caafdaaa1afe14d6c11f99945

Copy link

openshift-ci bot commented Dec 4, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: RobGeada

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

openshift-ci bot commented Dec 4, 2024

@ruivieira: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/trustyai-service-operator-e2e a0e2fd9 link true /test trustyai-service-operator-e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ruivieira ruivieira merged commit bf751f5 into trustyai-explainability:main Dec 4, 2024
7 of 9 checks passed
ruivieira added a commit that referenced this pull request Dec 11, 2024
* feat(lmeval): Add offline mode as default (#370)

Refer to [RHOAIENG-16200](https://issues.redhat.com/browse/RHOAIENG-16200)

* feat(lmeval): Disable remote code execution (#371)

Refer to [RHOAIENG-16203](https://issues.redhat.com/browse/RHOAIENG-16203)

* feat(lmeval): Disable online evaluation (#373)

* feat(lmeval): Add offline mode as mandatory

* feat(lmeval): Add online and code execution flags

* Update images

* Add default to flags

* Restore images

(cherry picked from commit bf751f5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants